export const searchConfig: PageConfig = {
    items: [
        {
            itemType: 'text',
            modelKey: 'processRouteCode',
            elInputProps: {
                placeholder: '请输入工艺路线编码'
            },
            columnProps: {
                label: '工艺路线编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'materialCode',
            elInputProps: {
                placeholder: '请输入物料编码'
            },
            columnProps: {
                label: '物料编码'
            }
        },
        {
            itemType: 'text',
            modelKey: 'creator',
            elInputProps: {
                placeholder: '请输入创建人'
            },
            columnProps: {
                label: '创建人'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processRouteName',
            elInputProps: {
                placeholder: '请输入工艺路线名称'
            },
            columnProps: {
                label: '工艺路线名称'
            }
        },
        {
            itemType: 'date',
            modelKey: 'createTime',
            dateRange: true,
            elDatePickerProps: {
                type: 'daterange',
                startPlaceholder: '开始时间',
                rangeSeparator: '-',
                endPlaceholder: '结束时间'
            },
            columnProps: {
                label: '创建日期'
            }
        },
        {
            itemType: 'select',
            modelKey: 'processRemark',
            elSelectProps: {
                placeholder: '请选择',
                options: [
                    {
                        value: 'true',
                        label: '待编辑'
                    },
                    {
                        value: 'false',
                        label: '--'
                    }
                ]
            },
            columnProps: {
                label: '工艺备注'
            }
        }
    ]
};
